/*
 * File:   Location.h
 * Author: Macaire
 *
 * Created on October 1, 2012, 1:53 PM
 */

#ifndef LOCATION_H
#define	LOCATION_H
#include <iostream>
using namespace std;


class Location {
public:
    Location();
    void setZipCode();
    int getZipCode();
    void setAddress();
    int getAddress();
    void setStreetName();
    string getStreetName();
    void setCity();
    string getCity();
    void setState ();
    string getState();
private:
    int zipCode, address;
    string streetName, city, state;


};
Location::Location(){
    setAddress();
    setStreetName();
    setCity();
    setState();
    setZipCode();
}

void Location::setZipCode(){
    cout<<"What is the zip code?"<<endl;
    cin>>zipCode;
    cout<<endl;
}

int Location::getZipCode(){
    return zipCode;
}

void Location::setAddress(){
    cout<<"What is the address? "<<endl<<"Whole number only!"<<endl;
    cin>>address;
    cout<<endl;
}

int Location::getAddress(){
    return address;
}

void Location::setStreetName(){
    cout<<"What is the street name? "<<endl<<"No Spaces!"<<endl;
    cin>>streetName;
    cout<<endl;
}

string Location::getStreetName(){
    return streetName;
}

void Location::setCity(){
    cout<<"What is the city? "<<endl<<"No spaces"<<endl;
    cin>>city;
    cout<<endl;
}

string Location::getCity(){
    return city;
}

void Location::setState (){
    cout <<"What is the state?"<<endl;
    cin>>state;
    cout<<endl;
}

string Location::getState (){
    return state;
}


#endif	/* LOCATION_H */

